﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using DEsbServices;

namespace DEsbWCFHostConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            var serviceHost1 = new ServiceHost(typeof(UserServiceImpl));
            serviceHost1.Open();

            var serviceHost2 = new ServiceHost(typeof(AdminServiceImpl));
            serviceHost2.Open();

            var serviceHost3 = new ServiceHost(typeof(AdminServiceImpl2));
            serviceHost3.Open();

            Console.WriteLine("WCF Service started ---");

            Console.ReadKey();
        }
    }
}
